Basket Analysis Example
Use basket analysis to estimate future product groupings that will be purchased, based on previous purchases of product groupings. For example, a store may want to estimate future product groupings, and then base their future promotions on these estimates.
In this example, we see estimates of various product pairings for a grocery store. Input two columns: the transaction number, and the product name. Ensure that the first line of the script matches the input.
If you change the names of the columns in the output, be sure to change them in the script as well.